home *** CD-ROM | disk | FTP | other *** search
/ Amiga Developer CD 2.1 / Amiga Developer CD v2.1.iso / Reference / Includes_and_Autodocs_3.5 / include / gadgets / clicktab.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-10-19  |  2.4 KB  |  88 lines

  1. #ifndef GADGETS_CLICKTAB_H
  2. #define GADGETS_CLICKTAB_H
  3. /*
  4. **    $VER: clicktab.h 44.1 (19.10.1999)
  5. **    Includes Release 44.1
  6. **
  7. **  Definitions for the clicktab.gadget BOOPSI class
  8. **
  9. **    (C) Copyright 1987-1999 Amiga, Inc.
  10. **        All Rights Reserved
  11. */
  12.  
  13. /*****************************************************************************/
  14.  
  15. #ifndef REACTION_REACTION_H
  16. #include <reaction/reaction.h>
  17. #endif
  18.  
  19. #ifndef INTUITION_GADGETCLASS_H
  20. #include <intuition/gadgetclass.h>
  21. #endif
  22.  
  23. /*****************************************************************************/
  24.  
  25. /* Defines for the clicktab node attributes.
  26.  */
  27. #define TNA_Dummy        (TAG_USER+0x010000)
  28.  
  29. #define TNA_UserData    (TNA_Dummy+1)
  30.     /* (APTR) user data, have a blast. */
  31.  
  32. #define TNA_Enabled        (TNA_Dummy+2)    /* was never implemented, now obsolete! */
  33. #define TNA_Spacing        (TNA_Dummy+3)    /* obsolete! */
  34. #define TNA_Highlight    (TNA_Dummy+4)    /* obsolete! */
  35.  
  36. #define TNA_Image        (TNA_Dummy+5)
  37.     /* (strcut Image *) render image pointer. */
  38.  
  39. #define TNA_SelImage    (TNA_Dummy+6)
  40.     /* (struct Image *) select image pointer. */
  41.  
  42. #define TNA_Text        (TNA_Dummy+7)
  43.     /* (STRPTR) tab text label string pointer. */
  44.  
  45. #define TNA_Number        (TNA_Dummy+8)
  46.     /* (WORD) numeric ID assignment for tab. */
  47.  
  48. #define TNA_TextPen        (TNA_Dummy+9)
  49.     /* (WORD) Text pen ID to render tab text. */
  50.  
  51. #define TNA_Disabled        (TNA_Dummy+10)
  52.     /* (BOOL) Is this button disabled?. (V42) */
  53.  
  54. /*****************************************************************************/
  55.  
  56. /* Additional attributes defined by the clicktab.gadget class
  57.  */
  58. #define CLICKTAB_Dummy                (REACTION_Dummy + 0x27000)
  59.  
  60. #define    CLICKTAB_Labels                (CLICKTAB_Dummy+1)
  61.     /* (struct List *) button list */
  62.  
  63. #define    CLICKTAB_Current            (CLICKTAB_Dummy+2)
  64.     /* (WORD) Currently selected tab id# */
  65.  
  66. #define    CLICKTAB_CurrentNode        (CLICKTAB_Dummy+3)
  67.     /* (struct TabNode *) Currently selected tab node */
  68.  
  69. #define    CLICKTAB_Orientation        (CLICKTAB_Dummy+4)
  70.     /* (WORD) Horizontal/Vertical/Flip mode - **Not Implemented!** */
  71.  
  72. #define    CLICKTAB_PageGroup            (CLICKTAB_Dummy+5)
  73.     /* (Object *) Embedded PageObject child pointer. (V42) */
  74.  
  75. #define CLICKTAB_PageGroupBackFill    (CLICKTAB_Dummy+6)
  76.     /* (Object *) Embedded PageObject + selected ClickTab backfill pointer. (V42) */
  77.  
  78. /*****************************************************************************/
  79.  
  80. /* CLICKTAB_Orientation Modes
  81.  */
  82. #define CTORIENT_HORIZ        0
  83. #define CTORIENT_VERT        1
  84. #define CTORIENT_HORIZFLIP    2
  85. #define CTORIENT_VERTFLIP    3
  86.  
  87. #endif /* GADGETS_CLICKTAB_H */
  88.